
    <div class="box">
        <form method="post" action="{$this->url($c, 'save', array('id' => $id))}">
            <table cellpadding="1" cellspacing="1" width="100%" border="0">
                <tr>
                    <td width="25%">sitemap文件名：</td>
                    <td class="td2">
                        <input type="text" name="sitemap_name" value="{$content['sitemap_name']}" />
                    </td>
                </tr>
                <tr>
                    <td width="25%">sitemap 文章数量：</td>
                    <td class="td2">
                        <input type="text" name="max_post" value="{$content['max_post']}" class="span1" />
                    </td>
                </tr>
                <tr>
                    <th></th>
                    <th class="td2">权重<b style="padding-left: 42px">更新频率</b></th>
                </tr>
                <tr>
                    <td width="25%">首页：</td>
                    <td class="td2">
                        <select name="index_priority">
                        <!--{loop $priority $v}-->
                            <option value="{$v}"{$v == $content['index_priority'] ? ' selected' : ''}>{$v}</option>
                        <!--{/loop}-->
                        </select>

                        <select name="index_changefreq">
                            <!--{loop $changefreq $k $v}-->
                            <option value="{$k}"{$k == $content['index_changefreq'] ? ' selected' : ''}>{$v}</option>
                            <!--{/loop}-->
                        </select>
                    </td>
                </tr>
                <tr>
                    <td width="25%">文章：</td>
                    <td class="td2">
                        <select name="post_priority">
                            <!--{loop $priority $v}-->
                            <option value="{$v}"{$v == $content['post_priority'] ? ' selected' : ''}>{$v}</option>
                            <!--{/loop}-->
                        </select>

                        <select name="post_changefreq">
                            <!--{loop $changefreq $k $v}-->
                            <option value="{$k}"{$k == $content['post_changefreq'] ? ' selected' : ''}>{$v}</option>
                            <!--{/loop}-->
                        </select>
                    </td>
                </tr>
                <tr>
                    <td width="25%">页面：</td>
                    <td class="td2">
                        <select name="page_priority">
                            <!--{loop $priority $v}-->
                            <option value="{$v}"{$v == $content['page_priority'] ? ' selected' : ''}>{$v}</option>
                            <!--{/loop}-->
                        </select>

                        <select name="page_changefreq">
                            <!--{loop $changefreq $k $v}-->
                            <option value="{$k}"{$k == $content['page_changefreq'] ? ' selected' : ''}>{$v}</option>
                            <!--{/loop}-->
                        </select>
                    </td>
                </tr>
                <tr>
                    <td width="25%">分类：</td>
                    <td class="td2">
                        <select name="sort_priority">
                            <!--{loop $priority $v}-->
                            <option value="{$v}"{$v == $content['sort_priority'] ? ' selected' : ''}>{$v}</option>
                            <!--{/loop}-->
                        </select>

                        <select name="sort_changefreq">
                            <!--{loop $changefreq $k $v}-->
                            <option value="{$k}"{$k == $content['sort_changefreq'] ? ' selected' : ''}>{$v}</option>
                            <!--{/loop}-->
                        </select>
                    </td>
                </tr>
                <tr>
                    <td >加入网站底部：</td>
                    <td class="td2">
                        <input type="checkbox" name="add_footer" value="1"{$content['add_footer'] ? ' checked' : ''} />
                    </td>
                </tr>
                <tr>
                    <td >生成网站地图：</td>
                    <td class="td2">
                        <input type="checkbox" name="sitemap_html" value="1"{$content['sitemap_html'] ? ' checked' : ''} />
                    </td>
                </tr>
                <tr>
                    <td >添加文章自动更新：</td>
                    <td class="td2">
                        <input type="checkbox" name="auto_sitemap" value="1"{$content['auto_sitemap'] ? ' checked' : ''} />
                    </td>
                </tr>
                <tr>
                    <th colspan="2" class="td3">
                        <a title="保存{$this->name}配置" class="btn btn-info save" href="">保存</a>
                        <a class="btn btn-success get" href="{$this->url($c, 'run', array('id' => $id))}">生成XML地图</a>
                    </th>
                </tr>
            </table>
        </form>
    </div>